using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using FlatRedBall;
using FlatRedBall.Graphics;
using FlatRedBall.Input;
using Like_a_bomberman.Screens;


namespace Like_a_bomberman
{
    /// <summary>
    /// This is a game component that implements IUpdateable.
    /// </summary>
    public class Bomba2 : Microsoft.Xna.Framework.GameComponent
    {
        Sprite bomba2;
       
        float x0, y0;
        float xvel, xacel, yvel;


        public Bomba2(Game game, float x0, float y0, float xvel, float xacel, float yvel)
            : base(game)
        {
            this.x0 = x0;
            this.y0 = y0;
            this.xvel = xvel;
            this.xacel = xacel;
            this.yvel = yvel;

        }

        /// <summary>
        /// Allows the game component to perform any initialization it needs to before starting
        /// to run.  This is where it can query for any required services and load content.
        /// </summary>
        public override void Initialize()
        {
            // TODO: Add your initialization code here

            base.Initialize();
                        

            bomba2 = SpriteManager.AddSprite("Bomba 2.png");
            bomba2.X = x0;
            bomba2.Y = y0;

            bomba2.XVelocity = xvel;
            bomba2.XAcceleration = xacel;
            bomba2.YVelocity = yvel;
        
        }

        /// <summary>
        /// Allows the game component to update itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public override void Update(GameTime gameTime)

        {

           


            // TODO: Add your update code here

            base.Update(gameTime);
        }
    }
}
